<?php
/**
 * =============================================================
 * @file        $Id: coleccion.php 1.0.0 2012-05-13 00:00:00 Xavier Muñoz $
 * @package	    coleccion 
 * @version     1.0.0
 * @description Componente que administra la información de la base de datos
 * @copyright	  Copyright © 2012 - All rights reserved.
 * @license		  GNU General Public License v2.0
 * @author		  Xavier Muñoz
 * @author mail	xavierdavidmunoz@gmail.com
 * @website		  www.nn.com
 * =============================================================
 * CODE GENERATED BY: ALEXEY GORDEYEV IK CODE GENERATOR
 * HTTP://WWW.AGJOOMLA.COM/
 *
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

require_once( JPATH_COMPONENT.DS.'controller.php' );

// Require specific controller if requested
if($controller = JRequest::getWord('controller')) {
	$path = JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php';
	if (file_exists($path)) {
		require_once $path;
	} else {
		$controller = '';
	}
}

// Create the controller
$classname	= 'coleccionController'.$controller;
$controller	= new $classname( );


// Perform the Request task
$controller->execute(JRequest::getVar('task', null, 'default', 'cmd'));
// Redirect if set by the controller
$controller->redirect();

?>